package com.ruoyi.vpnClient.mapper;

import com.ruoyi.vpn.domain.VpnUser;
import com.ruoyi.vpnClient.domain.Disconnect;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;

@Mapper
public interface VpnClientMapper {

     void updataVpnUserByDisconnect(Disconnect disconnect);


    //    @Select("select * from vpn_user where username =123 and password =456")
    VpnUser selectUserByUP(@Param("username") String username,@Param("password") String password);

    void updateConnectStatusByUsername(HashMap<String, Object> map);
}
